<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script type = "text/javascript" th:src="@{/js/jquery.js}"></script>
</head>
<body>
<div>
    <label th:text="#{wlcome}"></label>
    <input type="submit" th:value="#{submit}"/>
    <p>
        <a href="javascript:CN()">简体中文</a><a href="javascript:US()">English</a>
    </p>
</div>
<script th:inline="javascript">
    function CN() {
        location.href = '/checklanguage/CN';
    }
    function US() {
        location.href='/checklanguage/US';

    }
</script>
</body>
</html>